package com.example.demotest.repository;

import com.example.demotest.pojo.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;


public interface ProductCategoryRepository extends JpaRepository<ProductCategory,Integer> {
    Optional<Object> findByName(String trim);
}
